import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core';
import { User } from 'src/app/classes/user';

@Component({
  selector: 'app-user-card',
  templateUrl: './user-card.component.html',
  styleUrls: ['./user-card.component.sass']
})
export class UserCardComponent implements OnInit {

  @Output() openModalBox = new EventEmitter<string | void>();

  @Input() user: User;

  constructor() { }

  ngOnInit() {
  }
}
